.chat-container {
    display: flex;
    flex-direction: column;
    height: 100vh;
    max-width: 1000px;
    margin: 0 auto;
    background: #f7f7f8;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.chat-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 24px;
    background: white;
    border-bottom: 1px solid #e1e5e9;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.chat-header h2 {
    margin: 0;
    color: #333;
    font-size: 18px;
    font-weight: 600;
}

.chat-actions {
    display: flex;
    gap: 12px;
}

.stop-button,
.clear-button {
    padding: 6px 12px;
    border: 1px solid #d9d9d9;
    border-radius: 6px;
    background: white;
    color: #666;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.2s;
}

.stop-button {
    background: #ff4d4f;
    color: white;
    border-color: #ff4d4f;
}

.stop-button:hover {
    background: #ff7875;
    border-color: #ff7875;
}

.clear-button:hover:not(:disabled) {
    border-color: #40a9ff;
    color: #40a9ff;
}

.clear-button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .chat-container {
        height: 100vh;
        border-radius: 0;
        max-width: 100%;
    }
    
    .chat-header {
        padding: 12px 16px;
    }
    
    .chat-header h2 {
        font-size: 16px;
    }
    
    .chat-actions {
        gap: 8px;
    }
    
    .stop-button,
    .clear-button {
        padding: 4px 8px;
        font-size: 12px;
    }
}
